package com.bobo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bobo.base.Q;
import com.bobo.base.mybatis.ServiceImpl;
import com.bobo.mapper.SysMenuMapper;
import com.bobo.pojo.SysMenu;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * 系统菜单
 *
 * @author LILIBO
 * @since 2023-02-18
 */
@Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> implements SysMenuService {

    @Resource
    private SysMenuMapper sysMenuMapper;

    /**
     * 获取系统菜单分页数据
     *
     * @param page
     * @param param
     * @return
     */
    @Override
    public IPage<SysMenu> getPageList(Page page, Q param) {
        return sysMenuMapper.getPageList(page, param);
    }

}
